package xyz.thoughtset.viewer.modules.step.entity.vo;

import cn.zhxu.bs.bean.DbField;
import cn.zhxu.bs.bean.InheritType;
import cn.zhxu.bs.bean.SearchBean;
import xyz.thoughtset.viewer.modules.step.entity.QueryBlock;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@SearchBean(
        tables = "QueryBlock block inner join QueryBody body on block.bodyId = body.id",
        autoMapTo = "block",
        inheritType = InheritType.FIELD
)
public class QueryBlockVo extends QueryBlock {
    @DbField("body.title")
    protected String queryTitle;

}
